# encoding: utf-8
# @author: wangxin
# @software: garner
# @file: Maxday.py
# @time: 2025/1/23 16:01
def get_max_days_in_month(year, month):
    year=int(year)
    month=int(month)
    if month in [1, 3, 5, 7, 8, 10, 12]:
        return 31
    elif month in [4, 6, 9, 11]:
        return 30
    elif month == 2:
        if year % 4 == 0 and year % 100 != 0 or year % 400 == 0:
            return 29
        else:
            return 28
